﻿@model IEnumerable<SchoolProject2012.Areas.Eleve.Models.EVENEMENT>
@using SchoolProject2012.Langue
@{
    ViewBag.Title = Resources.eventPrev;
    if (Request.Browser.IsMobileDevice == true) { Layout = "~/Areas/Shared/Views/Shared/_Layout.Mobile.cshtml"; }
}
<div class="tile tile-quadro bg-color-orange">
<span class="tile-label-top">@Resources.eventPrev</span>
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.LIB_EVE)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DESC_EVE)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.TYPE_EVE)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DATE_DBT_EVE)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DATE_FIN_EVE)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.LOGINPERS_CREATE)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.LIB_EVE)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DESC_EVE)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TYPE_EVE)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DATE_DBT_EVE)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DATE_FIN_EVE)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.LOGINPERS_CREATE)
        </td>
        <td>@Html.ActionLink("Détail", "detailsEvent", new { id = item.ID_EVE, langue = ViewBag.langue }, new {@class = "link" })</td>
    </tr>
}

</table>
</div>